<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="include/base.jsp" %>

<!DOCTYPE html>
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
	<style type="text/css">
		.container .row .span9 ul li .link{
			padding: 0px;
			margin: 0px;
			display: inline;
			color: #fff;
		}
		.container .row .span9 ul li .link:hover{
			text-decoration: underline;
			color: #fff;
			background-color: #0068CD;
		}
	</style>
</head>
<body class="body">

	<!-- top -->
	<%@ include file="include/top.jsp" %>	
	
	<div class="container">
	  <div class="row">
		<div class="span9">
          
          	<div class="page-header">
          		<h2>项目列表</h2>
          	</div>

          	<a href="newProject.jspx" class="btn btn-success"><i class="icon-plus icon-white"></i>开始一个新项目</a>
			<c:forEach var="project" items="${requestScope.list}">
				<ul class="nav nav-pills nav-stacked" style="background-color:#0068CD;margin:10px 0px 0px 0px;padding:5px 0px;border-radius:10px 10px 0px 0px">
				  <li class="nav-header" style="font-size:14px"><a href="home.jspx?id=${project.id}" class="link"><i class="icon-th"></i>${project.name}</a></li>
				</ul>
				<div class="wall">
					<p>${project.desc}</p>
				</div>	
			</c:forEach>

		</div>
		<div class="span3">
			
			

		</div>
	  </div>
	</div>
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>

	<script type="text/javascript">
		$('.dropdown-toggle').dropdown();
	</script>

</body></html>